home *** CD-ROM | disk | FTP | other *** search
/ Boot Disc 13 / boot-disc-1997-09.iso / HyprWire / DATA.Z / 01 RandomNumber.mdf < prev    next >
Text File  |  1996-11-02  |  2KB  |  68 lines

  1. kxKinetix
  2. kxType = kxSmalltalkJavaPlugIn
  3.  
  4. kxModuleDefinition RandomNumber = 
  5.   {
  6.   kxPublicName = "Random Number"
  7.   kxVersion = "1.0"
  8.   kxCreationTime = "02/18/96  12:26:14 PM"
  9.   kxAuthor = "Kinetix"
  10.   kxLargeIcon = kxBmResType "ModIcons.dll" "RAND02" 0xFF00FF
  11.   kxSmallIcon = kxBmResType "ModIcons.dll" "RAND01" 0xFF00FF
  12.   kxSmalltalkProxyClass = RandomBundle
  13.   kxShortDescription = "Generates random numbers in specified range."
  14. //  kxHelpDoc = "http://www.hyperwire.com/helpdocs/Miscellaneoous/RandomNumber/help.html"
  15.  
  16.     // The Java class which implements the plug-in...
  17.   kxPlugInClass = RandomNumberPlugIn
  18.  
  19.     // The Smalltalk editor classes used to edit the properties of this plug-in...
  20.   kxPropertyEditors =  OpusLabelCommentEditor ModuleStateEditor PortEditor
  21.  
  22.  
  23.   kxInputPorts =
  24.     {
  25.     kxInclude "Basic.ipt"
  26.     kxPort GetRandomNumberRange =
  27.       {
  28.       kxJavaMethod = wiGetRandomNumberRange
  29.       kxJavaSignature = "(I I)I"
  30.       kxPublicNames = "Get Random Number Range" "min" "max" "Not Specified"
  31.       }
  32.  
  33.     kxPort GetRandomNumber =
  34.       {
  35.       kxJavaMethod = wiGetRandomNumber
  36.       kxJavaSignature = "()I"
  37.       kxPublicNames = "Get Random Number" "Not Specified"
  38.       }
  39.  
  40.     }
  41.  
  42.  
  43.   kxInputPortsMenu =
  44.     {
  45.     GetRandomNumber
  46.     GetRandomNumberRange
  47.     kxInclude "Basic.imn"
  48.     }
  49.  
  50.  
  51.   kxOutputPorts =
  52.     {
  53.     kxPort RandomNumber =
  54.       {
  55.       kxJavaSignature = "(LHwObject;)V"
  56.       kxPublicNames = "Random Number" "number" "Not Specified"
  57.       }
  58.     }
  59.  
  60.  
  61.   kxOutputPortsMenu =
  62.     {
  63.     RandomNumber
  64.     }
  65.  
  66.  
  67.   }
  68.